package com.peas.platform.module.icims.base.mdm.dto;

import java.util.*;

import com.peas.platform.common.core.annotation.Comment;
import com.peas.platform.common.core.dto.BaseDto;
import com.peas.platform.framework.mybatisplus.annotation.Condition;
import com.peas.platform.framework.mybatisplus.annotation.ConditionOperator;
import lombok.Data;
import lombok.EqualsAndHashCode;

// 机场
@Data
@EqualsAndHashCode(callSuper = false)
public class AirportDto extends BaseDto {

    // 机场类型
    // 枚举取值:AirportType
    @Comment(value = "机场类型", enumType = "AirportType")
    @Condition(operator = ConditionOperator.IN)
    private String airportType;

    // 机场三字码
    @Comment(value = "机场三字码")
    @Condition(operator = ConditionOperator.IN)
    private String airportCode;

    // 机场名称
    @Comment(value = "机场名称")
    private String airportName;

    // 城市ID
    // （行政区表）外键
    @Comment(value = "城市ID")
    private Long cityId;

    // ICAO代码
    @Comment(value = "ICAO代码")
    private String icao;

    // 状态
    // 枚举取值:CommonEnableDisable
    @Comment(value = "状态", enumType = "CommonEnableDisable")
    @Condition(operator = ConditionOperator.IN)
    private String state;

    // 备注
    @Comment(value = "备注")
    private String remark;

    //Criteria
    private Date createTimeStart;
    private Date createTimeEnd;
    private Date updateTimeStart;
    private Date updateTimeEnd;
}
